package com.project.platform.service;

import com.project.platform.entity.Shop;
import com.project.platform.entity.User;
import com.project.platform.vo.PageVO;

import java.util.List;
import java.util.Map;

public interface ShopService extends CommonService{

    PageVO<Shop> page(Map<String,Object> query, Integer pageNo, Integer pageSize);



    List<Shop> list();/**列表返回@return*/

    Shop selectById(Integer id);

   // Shop selectByUsername(String username);

    //User SelbyTelphone(String telphone);

    void insert(Shop shop);

    void update(Shop shop);

    void delete(List<Integer> ids);
}

